package net.maku.kyy.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.maku.framework.common.utils.DateUtils;

import java.time.LocalDateTime;

@Data
public class KyyUserInfoVO {

    @Schema(description = "id")
    private Long id;

    @Schema(description = "昵称")
    private String name;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "账号")
    private String account;

    @Schema(description = "真实姓名")
    private String realname;

    @Schema(description = "头像")
    private String avatarUrl;

    @Schema(description = "出生日期")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private LocalDateTime birthday;

    @Schema(description = "性别 0：男  1：女 2：未知")
    private Integer gender;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "微信号")
    private String wechatId;
}
